package com.itheima.provider;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.service.IUser;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author 司军强
 * @version 1.0.0
 * @date 2019/7/14 :23:01
 * @description
 **/

@Service(interfaceClass = IUser.class)//作用指定服务的接口类型
@Transactional//对该类下面的方法进行事务管理
public class UserImpl implements IUser {
    @Override
    public String sayHello() {
        return "========================dfsd ";

    }
}
